<template>
  <main class="Box">
    <div></div>
    <div class="box">
      <div class="top">
        <img
          src="https://www.todolist.cn/img/note.75134fb0.svg"
          alt=""
          class="Simg"
        />
        <div class="title">Todolist</div>
      </div>
      <Top />
      <Moddle />
      <Bottom />
    </div>
  </main>
</template>

<script setup>
import Moddle from "../components/Moddle.vue";
import Top from "../components/Top.vue";
import Bottom from "../components/Bottom.vue";
</script>

<style>
.Box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.box {
  width: 450px;
  min-height: 500px;
  background-color: #f2f2f2;
  margin: 0 auto;
  border-radius: 20px;
}

.Simg {
  width: 70px;
}

.top {
  display: flex;
  align-items: center;
  margin-left: 150px;
  margin-top: 30px;
}

.title {
  transform: rotate(3deg);
  font-size: 15px;
  padding: 0.25em 0.8em 0.15em;
  border-radius: 20% 5% 20% 5%/5% 20% 25% 20%;
  color: #fff;
  background-color: #fe7345;
  width: 100px;
  height: 30px;
  line-height: 20px;
  font-weight: bold;
  margin-left: 10px;
}
</style>
